package org.jiuling.unifyinfo.spring.annotation;

import org.jiuling.unifyinfo.spring.exception.handing.UnifiedExceptionHandling;
import org.jiuling.unifyinfo.spring.exception.handing.config.ExceptionHandingConfig;
import org.jiuling.unifyinfo.spring.response.handing.ResponseDataAdvice;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 统一信息处理
 * @author 紫灵
 * @date 2024年12月09日 13时54分05秒
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Import({
        ExceptionHandingConfig.class,
        UnifiedExceptionHandling.class,
        ResponseDataAdvice.class
})
public @interface UnifyInfoHandling {
}
